﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PJ.Data;

namespace PJ.Business
{
    /// <summary>
    /// EntityExtensionService class
    /// </summary>
    /// <typeparam name="O">Object to serve type</typeparam>
    /// <typeparam name="OD">Inner data object type</typeparam>
    /// <typeparam name="ODP">Inner data object provider type</typeparam>
    public abstract class EntityExtensionService<OI, OD, ODP> : EntityService<OI, OD, ODP>, IEntityExtensionService
        where OI : class, IEntityExtension
        where OD : class, IEntityExtensionData
        where ODP : class, IEntityExtensionProvider<OD>
    {
        public EntityExtensionService(ODP dataService)
            : base(dataService)
        {
        }

    }
}
